package com.wjw.java.io;

/**
 * IO流分为：节点流和处理流
 *
 * 1.节点流：是针对数据源时,选择不同的流,如:操作二进制时,使用FileInputStream和FileOutputStream
 * --------------------------------------------------------------------------------------------------------------
 * 分类           字节(byte)输入流           字节(byte)输出流           字符(char)输入流           字符(char)输出流
 * --------------------------------------------------------------------------------------------------------------
 * 基类           InputStream               OutputStream              Reader                      Writer
 * --------------------------------------------------------------------------------------------------------------
 * 访问二进制文件  FileInputStream           FileOutputStream          FileReader                  FileWriter
 * 访问数组       ByteArrayInputStream      ByteArrayOutputStream     CharArrayReader             CharArrayWriter
 * 访问管道       PipedInputStream          PipedOutputStream         PipedReader                 PipedWriter
 * 访问字符串                                                         StringReader                StringWriter
 * --------------------------------------------------------------------------------------------------------------
 * 2.处理流(包装类)：对节点流进行了包装,增强功能
 * --------------------------------------------------------------------------------------------------------------
 * 缓冲流        BufferedInputStream        BufferedOutputStream     BufferedReader              BufferedWriter
 * 转换流                                                            InputStreamReader           InputStreamWriter
 * 对象流        ObjectInputStream         ObjectOutputStream
 * 抽象基类      FilterInputStream         FilterOutputStream        FilterReader                FilterWriter
 * 打印流                                  PrintStream                                           PrintWriter
 * 推回输入流    PushbackInputStream                                 PushbackReader
 * 特殊流        DataInputStream           DataOutputStream
 */
public class WhatIsStream {
}
